package com.zhouyu;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * @Description:
 */
public class HelloService {
  @Autowired
  private HelloProperties helloProperties;

  /**
   * 打招呼方法
   *
   * @param name 人名，向谁打招呼使用
   */
  public String sayHello(String name) {
    return "你好啊! " + name + ",password: " + helloProperties.getPassword();
  }
}
